package cn.piesat.vo.menu;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * 菜单详细信息展示类
 *
 * @author xhl
 */
public class MenuDetailVO {

    private String id;
    private String pid;
    private String name;
    private String route;
    private Integer seq;
    private String description;
    private String iconfont;
    private Integer lockState;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String link;

    @Override
    public String toString() {
        return "MenuDetailVO{" +
                "id='" + id + '\'' +
                ", pid='" + pid + '\'' +
                ", name='" + name + '\'' +
                ", route='" + route + '\'' +
                ", seq=" + seq +
                ", description='" + description + '\'' +
                ", iconfont='" + iconfont + '\'' +
                ", lockState=" + lockState +
                ", createTime=" + createTime +
                ", link='" + link + '\'' +
                '}';
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIconfont() {
        return iconfont;
    }

    public void setIconfont(String iconfont) {
        this.iconfont = iconfont;
    }

    public Integer getLockState() {
        return lockState;
    }

    public void setLockState(Integer lockState) {
        this.lockState = lockState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
